import request from '@/utils/request'

// 查询加入平台申请列表
export function listPlatformApplication(query) {
  return request({
    url: '/system/platformApplication/list',
    method: 'get',
    params: query
  })
}

// 查询加入平台申请详细
export function getPlatformApplication(platformApplicationId) {
  return request({
    url: '/system/platformApplication/' + platformApplicationId,
    method: 'get'
  })
}

// 新增加入平台申请
export function addPlatformApplication(data) {
  return request({
    url: '/system/platformApplication',
    method: 'post',
    data: data
  })
}

// 修改加入平台申请
export function updatePlatformApplication(data) {
  return request({
    url: '/system/platformApplication',
    method: 'put',
    data: data
  })
}

// 删除加入平台申请
export function delPlatformApplication(platformApplicationId) {
  return request({
    url: '/system/platformApplication/' + platformApplicationId,
    method: 'delete'
  })
}
